package appapi.dto.bridge;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/15  17:17
 */
@ApiModel("人脸识别记录返回对象")
@Data
public class FaceRecordDto {

    @ApiModelProperty(value="自编号")
    private Long id;

    @ApiModelProperty(value="操作员编号")
    private String operNo;
    @ApiModelProperty(value="操作员id")
    private Long operId;
    @ApiModelProperty(value="操作员性别")
    private String operSexName;
    @ApiModelProperty(value="操作员证件号")
    private String operCardId;
    @ApiModelProperty(value="人脸头像")
    private String operHeadpic;
    @ApiModelProperty(value="人脸识别图像")
    private String faceRecordUrl;
    @ApiModelProperty(value="设备SN")
    private String deviceSn;
    @ApiModelProperty(value="现场编号")
    private String deviceNo;
    @ApiModelProperty(value="设备名称")
    private String deviceName;
    @ApiModelProperty(value="现场编号")
    private Long projId;
    @ApiModelProperty(value="设备名称")
    private String projName;
    @ApiModelProperty(value="记录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime faceTime;
    @ApiModelProperty(value="创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;







}
